package com.elitedatai.mchtest.map.model.entity;

import com.elitedatai.mchtest.common.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import jakarta.persistence.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "map_group_element")
@Entity
public class GroupElementEntity extends BaseEntity implements Serializable {

    @Column(name = "group_id")
    private String groupId;

    @Column(name = "element_id")
    private String elementId;

    @Column(name = "element_name")
    private String elementName;

    @Column(name = "display")
    private Integer display;

    @Column(name = "element_type")
    private Integer elementType;

    @Column(name = "username")
    private String username;

    @Column(name = "color")
    private String color;

    @Column(name = "clamp_to_ground")
    private Boolean clampToGround;

}
